from django.db import models

from blacklist.models import APK


class Notes(models.Model):
    pub_time = models.DateTimeField(auto_now_add=True,verbose_name='pub_time')
    answer = models.TextField(verbose_name='answer')
    question = models.TextField(verbose_name='question')
    apk = models.ForeignKey(APK,on_delete=models.CASCADE,related_name="chat_notes",verbose_name='apk')

    class Meta:
        verbose_name = 'notes'
